package cn.buk.api.ctrip.dto.share;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by yfdai on 16/1/5.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Response")
public class OpenApiResponse {

    @XmlElement(name="Header")
    private OpenApiResponseHeader header;

    @XmlElement(name="Head")
    private OpenApiResponseHead head;

    @XmlElement(name="Body")
    private OpenApiResponseBody body;

    public OpenApiResponseHeader getHeader() {
        return header;
    }

    public void setHeader(OpenApiResponseHeader header) {
        this.header = header;
    }

    public OpenApiResponseHead getHead() {
        return head;
    }

    public void setHead(OpenApiResponseHead head) {
        this.head = head;
    }

    public OpenApiResponseBody getBody() {
        return body;
    }

    public void setBody(OpenApiResponseBody body) {
        this.body = body;
    }
}
